package ru.amse.jsynchro.logging;


class ConsoleLogger extends Logger {
    
    ConsoleLogger(boolean useTime, String source) {
        super(useTime, source);
    }

    public void exception(Exception e) {
        System.out.print(preLogMessage());
        e.printStackTrace();
    }

    public void info(String message) {
        System.out.print(preLogMessage());
        System.out.println(message);
    }
}
